
let moduleConst = {}
const routerFiles = require.context('./modules', true, /\.js$/)
routerFiles.keys().forEach(fileName => {
  const fileContent = routerFiles(fileName);
  Object.assign(moduleConst,fileContent)
})

export default moduleConst